package com.ruimei.service;

import com.alibaba.fastjson.JSONObject;
import com.ruimei.entitys.Notice;
import org.springframework.data.redis.core.RedisTemplate;

import java.util.List;
import java.util.Map;

public abstract interface NoticeService
{
  public abstract Map<String, Object> getSchoolNotice(String noticeId);
  
  public abstract Map<String, Object> getClassNotice(String teacherId, String noticeId, String classId);
  
  public abstract Map<String, Object> getPayNotice(String teacherId, String noticeId, String classId);
  
  public abstract Map<String, Object> getSchoolList(String noticeId);

  /**
   * 发送通知
   * @param notice 通知实体
   * @param redisTemplate redis操作api
   * @return 执行结果
   */
    JSONObject sendNotice(Notice notice, RedisTemplate<String,String> redisTemplate);

  List<Notice> querySchoolNotice(String id, String type);
}


/* Location:              E:\360MoveData\Users\admin\Desktop\teacher_wap-0.0.1-SNAPSHOT.jar!\BOOT-INF\classes\com\ruimei\service\NoticeService.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       0.7.1
 */